package com.nwpu.server.search.controller;

import com.nwpu.server.common.response.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.web.bind.annotation.*;

import java.io.IOException;

/**
 * @Author: YuXingZh
 * @Date: Created in 19:27 2022-04-03
 * @Description:
 */
@RestController
@RequestMapping("redis")
public class RedisController {

    @Autowired
    StringRedisTemplate redisTemplate;

    @GetMapping(value = "geneTable/{id}")
    @ResponseBody
    public R productStatusUp(@PathVariable("id") String taskId) throws IOException {

        return R.ok();
    }
}
